@echo off
set copypath="C:\Program Files\Java\jdk1.7.0_02\jre\"

set jarfile=RXTXcomm.jar

	set jarpath=%copypath%"lib\ext\"

set dllfile1=rxtxParallel.dll
set dllfile2=rxtxSerial.dll

	set dllpath=%copypath%"bin\"



copy %jarfile% %jarpath% /-Y
rem 	echo copy %jarfile% 
rem 	echo to   %jarpath%

copy %dllfile1% %dllpath% /-Y
rem 	echo copy %dllfile1% 
rem 	echo to   %dllpath%

copy %dllfile2% %dllpath% /-Y
rem 	echo copy %dllfile2% 
rem 	echo to   %dllpath%

pause





